﻿CREATE TABLE [dbo].[CategoryBook] (
    [CategoryID] INT NULL,
    [BookID]     INT NULL,
    CONSTRAINT [FK_CategoryBook_book] FOREIGN KEY ([BookID]) REFERENCES [dbo].[book] ([id]),
    CONSTRAINT [FK_CategoryBook_Category] FOREIGN KEY ([CategoryID]) REFERENCES [dbo].[Category] ([CategoryID])
);

